package com.azusa.common.transform.descriptor;

/**
 * 
 * <p>类功能说明:</p>
 * <p>Class Function Description:</p>
 * <p>Title: FieldDescriptor.java</p> 
 * <p>Description:Azusa</p>
 * <p>Copyright: Copyright © 2013 Leonard Lan.All Rights Reserved.</p>
 * <p>Company:Azusa</p>
 * @author Leonard Lan
   @date Oct 18, 2013 10:26:52 AM
 * @version v1.0
 * @since azusa-commons v1.0.0
 */
public class FieldDescriptor {
	/**属性名*/
	private String fieldName;
	
	/**如果属性是一个对象，这个对象的name.不是对象的话，则和fieldName值相同*/
	private String mappingName;
	
	/**属性是一个字段还是对象*/
	private boolean mappingAsField = true;
	
	/**容器*/
	private String container;

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public String getMappingName() {
		return mappingName;
	}

	public void setMappingName(String mappingName) {
		this.mappingName = mappingName;
	}

	public boolean isMappingAsField() {
		return mappingAsField;
	}

	public void setMappingAsField(boolean mappingAsField) {
		this.mappingAsField = mappingAsField;
	}

	public String getContainer() {
		return container;
	}

	public void setContainer(String container) {
		this.container = container;
	}
}
